import { defineConfig } from 'umi';

// defineConfig 方法可以出现提示
export default defineConfig({
  hash: true,
  nodeModulesTransform: {
    type: 'none',
  },
  routes: [
    { path: '/', component: '@/pages/index' },
    { path: '/page1', component: '@/pages/page1' },
    { path: '/page2', component: '@/pages/page2' },
    { path: '/page3', component: '@/pages/page3' },
    { path: '/page4', component: '@/pages/page4' },
    { path: '/page5', component: '@/pages/page5' },
    { path: '/page6', component: '@/pages/page6' },
    { path: '/page7', component: '@/pages/page7' },
    { path: '/page8', component: '@/pages/page8' },
    { path: '/page9', component: '@/pages/page9' },
    { path: '/page10', component: '@/pages/page10' },
    { path: '/page11', component: '@/pages/page11' },
    { path: '/page13', component: '@/pages/page13' },
    { path: '/page14', component: '@/pages/page14' },
    { component: '@/pages/404' },
  ],
});
